package com.example.facecompare.user.userinfo.mapper;

import com.example.facecompare.user.userinfo.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author tbb
 * @since 2023-07-31
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {
    @Select("SELECT * FROM user LIMIT #{index},#{count}")
    public List<User> getLimitInfo(Integer index, Integer count);
}
